package com.stormrage.entity.learn;

import java.io.Serializable;
import java.util.Date;

/**
 * @Title: LeaTerm.java
 * @Package com.stormrage.entity.learn
 * @Description: 学期 Entity 类
 * @author www.stormragetech.com
 * @date 2016年4月8日
 * @version V1.0
 */
public class LeaTerm implements Serializable {

	// ------------------------------- Fields -------------------------------

	private static final long serialVersionUID = -3673900531989420719L;

	// ------------------------------- Fields -------------------------------

	private Integer id; // 编号

	private String term; // 学期名称

	private Date applyDateStart; // 报名开始时间

	private Date applyDateEnd; // 报名结束时间

	private Date studyDateStart; // 学习开始时间

	private Date studyDateEnd; // 学习结束时间

	private Date examDateStart; // 考试开始时间

	private Date examDateEnd; // 考试结束时间

	private Integer majorId; // 方向ID

	// ------------------------------- Fields -------------------------------

	public LeaTerm() {
	}

	// ------------------------------- Fields -------------------------------

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getTerm() {
		return term;
	}

	public void setTerm(String term) {
		this.term = term;
	}

	public Date getApplyDateStart() {
		return applyDateStart;
	}

	public void setApplyDateStart(Date applyDateStart) {
		this.applyDateStart = applyDateStart;
	}

	public Date getApplyDateEnd() {
		return applyDateEnd;
	}

	public void setApplyDateEnd(Date applyDateEnd) {
		this.applyDateEnd = applyDateEnd;
	}

	public Date getStudyDateStart() {
		return studyDateStart;
	}

	public void setStudyDateStart(Date studyDateStart) {
		this.studyDateStart = studyDateStart;
	}

	public Date getStudyDateEnd() {
		return studyDateEnd;
	}

	public void setStudyDateEnd(Date studyDateEnd) {
		this.studyDateEnd = studyDateEnd;
	}

	public Date getExamDateStart() {
		return examDateStart;
	}

	public void setExamDateStart(Date examDateStart) {
		this.examDateStart = examDateStart;
	}

	public Date getExamDateEnd() {
		return examDateEnd;
	}

	public void setExamDateEnd(Date examDateEnd) {
		this.examDateEnd = examDateEnd;
	}

	public Integer getMajorId() {
		return majorId;
	}

	public void setMajorId(Integer majorId) {
		this.majorId = majorId;
	}

	// ------------------------------- Fields -------------------------------

	@Override
	public String toString() {
		return this.getClass() + " : id - " + id + " term - " + term + " applyDateStart - " + applyDateStart
				+ " applyDateEnd - " + applyDateEnd + " studyDateStart - " + studyDateStart + " studyDateEnd - "
				+ studyDateEnd + " examDateStart - " + examDateStart + " examDateEnd - " + examDateEnd + " majorId - "
				+ majorId;
	}

}
